﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Supersense.db;

public partial class admin_users : System.Web.UI.Page
{
    public DataView dv;

    protected void Page_Load(object sender, EventArgs e)
    {
        if ((Session["username"] == null) || (Session["username"].ToString() == ""))
        {
            Response.Redirect("~/admin/login.aspx");
        }
        Database db = new Database();

        dv = db.executedv("SELECT * FROM sup_username");
        DataTable dt = dv.Table;
        string test = "sss";
        repeater1.DataSource = dt.DefaultView;
        repeater1.DataBind();
    }
}
